<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Insert title here</title>
</head>
<body>
<h2>用户列表</h2>
<div>
    <form th:action="@{/login}" method="POST">
        <label for="username">用户名:</label>
        <input id="username" type="text" th:name="username" value=""/><br/>

        <label for="password">密码:</label>
        <input id="password" type="text" th:name="password"/> <br/>

        <input type="submit" value="登录"/>
    </form>
</div>
</body>
</html>